const main = require('../main/main');

describe('taxi-fee', function () {
    it('9km and wait 5min',function(){
        let km = 9 ;
        let waitTime = 5 ;
        let money = main(km,waitTime);
        expect(13).toBe(money);
    });

    it('6.4km and no waitting',function(){
        let km = 6.4;
        let waitTime = 0 ;
        let money = main(km,waitTime);
        expect(10).toBe(money);
    });
});
